package com.example.springEvent;

import com.alibaba.fastjson.JSON;

import java.util.Date;

/**
 *
 * @author Administrator
 * @date 2020-2-5 0005
 */
public class EventObject {
    public String name;
    public Date gmtDate= new Date();
    public Object data;

    public EventObject(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "EventObject{" +
                "name='" + name + '\'' +
                ", gmtDate=" + gmtDate +
                ", data=" + data +
                '}';
    }
}
